package com.qiyadeng.thread;

public class CopyOfCounterThread extends Thread {

	protected Counter counter;
	
	public CopyOfCounterThread(Counter counter){
		this.counter = counter;
	}
	
	public void run(){
		for(int i=0;i<10;i++){
			counter.sub(i);
		}

	}
}
